package byx.container.annotation.ContainerParamTest.c;

import byx.container.annotation.annotation.Init;
import byx.container.annotation.annotation.Register;
import byx.container.core.Container;

@Register
public class Config {
    private Container container;

    @Init
    public void setContainer(Container container) {
        this.container = container;
    }

    @Register
    public B b() {
        return new B(container.getObject(A.class));
    }
}
